package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.Quarter;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 每年季度 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
public interface IQuarterService extends IService<Quarter> {

    Quarter getNowQuarter();

    Quarter getQuarterForYearAndNum(Integer yearPart, Integer quarterNum);

    Quarter getLastForTranscription(Integer yearPart, Integer quarterNum);

    Quarter getUpQuarter(Integer yearPart, Integer quarterNum, Integer upNum);

    Quarter getOneForYearAndNum(Integer yearPart, Integer quarterNum);
}
